package com.fowo.api.controller.purchase.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fowo.api.common.annotaion.JoinField;
import com.fowo.api.entity.Warehouse;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

@Data
public class batchCreateWarehouseBinVo {
    @NotNull(message = "仓库不能为空")
    private Long parentWarehouse;
    @NotNull(message = "仓位属性不能为空")
    private String type;
    @Length(max = 2)
    @NotNull(message = "区不能为空")
    private String  area; //区
    @Length(max = 2)
    @NotNull(message = "行不能为空")
    private String  rowMin;//行
    @Length(max = 2)
    @NotNull(message = "行不能为空")
    private String  rowMax;//行
    @Length(max = 2)
    @NotNull(message = "列不能为空")
    private String  lineMin;//列
    @Length(max = 2)
    @NotNull(message = "列不能为空")
    private String  lineMax;//列
    @Length(max = 2)
    private String  storeyMin;//层
    @Length(max = 2)
    private String  storeyMax;//层
    @Length(max = 2)
    private String  frameMin;//格
    @Length(max = 2)
    private String  frameMax;//格

}
